package cs236369.webserver;

import java.net.Socket;
import java.util.Map;

import org.apache.http.params.HttpParams;

public class Request {
	
	private Socket socket;
	private String path;
	private String httpMethod;
	private Map<String, String> httpHeaders;
	private String content;
	
	public Request(Socket _socket, String _path, String _httpMethod, Map<String, String> _httpHeaders, String _content) {
		socket = _socket;
		path = _path;
		httpMethod = _httpMethod;
		httpHeaders = _httpHeaders;
		content = _content;
	}

	String getHttpMethod() {
		return httpMethod;
	}

	Socket getSocket() {
		return socket;
	}

	String getPath() {
		return path;
	}

	String getContent() {
		return content;
	}
	
	public Map<String, String> getHttpHeaders() {
		return httpHeaders;
	}

}
